package com.wnx.job.common.service;


import com.wnx.job.domain.OssCallbackResult;
import com.wnx.job.domain.OssPolicyResult;

import javax.servlet.http.HttpServletRequest;

/**
 * @author by wangnaixing
 * @Description oss上传管理Service
 * @Date 2021/12/17 10:20
 */
public interface OssService {
    /**
     * oss上传策略生成
     */
    OssPolicyResult policy();

    /**
     * oss上传成功回调
     */
    OssCallbackResult callback(HttpServletRequest request);
}
